fix: resolve npm security vulnerabilities (31 alerts fixed)#20
Merged
Conversation
- Update all direct dependencies to latest versions - Add overrides for transitive dependencies with security patches - Fixes 31 dependabot alerts (2 critical, 20 high, 8 moderate, 1 low)
- Fix GHSA-6f5r-5672-72j7: Web UI now binds to 127.0.0.1 by default instead of 0.0.0.0 (all interfaces), preventing unauthenticated network access to the document management API - Add WEB_HOST env variable (default: 127.0.0.1) for configuring the bind address. Set to 0.0.0.0 to restore previous behavior - Update unpdf from ^1.2.1 to ^1.6.2 (pdfjs-dist CVE mitigation) - Document WEB_HOST in README
|
🎉 This PR is included in version 1.13.1 🎉 The release is available on: Your semantic-release bot 📦🚀 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Fix di 31 vulnerabilità di sicurezza npm nel progetto, aggiornando le dipendenze dirette e aggiungendo overrides per le transitive.
Vulnerabilità risolte
Dipendenze dirette aggiornate
Overrides aggiunti (20 pacchetti transitivi)
hono, @hono/node-server, protobufjs, @protobufjs/utf8, axios, ws, fast-uri, undici, path-to-regexp, follow-redirects, qs, picomatch, brace-expansion, file-type, lodash, lodash-es, ip-address, minimatch, express-rate-limit, handlebars, diff
Verifica
npm audit: 0 vulnerabilitiesnpm run build: compilazione TypeScript riuscitafix/security-vulnerabilities